{"version":3,"sources":["fileman_player.js"],"names":["BX","namespace","window","Fileman","PlayerManager","isStarted","players","playing","slider","addPlayer","player","this","push","bindPlayerEvents","autostart","lazyload","init","ready","proxy","bind","throttle","onScroll","setTimeout","delegate","top","getClass","currentSlider","SidePanel","Instance","getSliderByWindow","addCustomEvent","event","getSlider","i","pause","events","getEventList","length","eventName","onCustomEvent","topVisiblePlayer","isAnyPlaying","id","splice","inited","isVisibleOnScreen","active","isEnded","isPlaying","isReady","mute","disableMute","play","getElementCoords","VISIBLE_OFFSET","box","getBoundingClientRect","elementHeight","bottom","elementWidth","right","left","coords","pageYOffset","pageXOffset","originTop","originLeft","originBottom","originRight","screens","onScreen","visible","clientHeight","document","documentElement","windowTop","scrollTop","windowBottom","parseInt","topVisible","bottomVisible","playerElement","playerCenterX","playerCenterY","currentPlayerCenterElement","elementFromPoint","parentNode","getPlayerById","Player","params","fillParameters","fireEvent","onClick","onKeyDown","prototype","playButton","findChildByClassName","getElement","focus","vjsPlayer","isReady_","paused","e","ended","setPlayedState","storageHash","__getStorageHash","localStorage","set","isPlayed","get","sources","type","isArray","src","createElement","node","tagName","isAudio","className","skin","attrs","width","height","controls","muted","create","source","append","hasFlash","playbackRate","volume","playlistParams","startTime","wmvConfig","onInit","which","preventDefault","stopPropagation","setSource","getSource","videojs","on","isFlashErrrorShown","error","code","message","errorDisplay","content","addEventListener","one","currentTime","spinner","findChild","class","remove","playlist","isFunction","proxyEvents","isNotEmptyString","removeCustomEvent"],"mappings":"CAAC,WAEDA,GAAGC,UAAU,cAEb,GAAGC,OAAOF,GAAGG,QAAQC,cACrB,CACC,OAGDJ,GAAGG,QAAQC,eACVC,UAAW,MACXC,WACAC,QAAS,MACTC,OAAQ,KACRC,UAAW,SAASC,GAEnBC,KAAKL,QAAQM,KAAKF,GAElBC,KAAKE,iBAAiBH,GAEtB,GAAGA,EAAOI,WAAaJ,EAAOK,SAC9B,CACCJ,KAAKK,SAGPA,KAAM,WAEL,GAAGL,KAAKN,UACR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